package com.heima.apis.article;

import com.heima.model.article.pojos.ApAuthor;
import com.heima.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(tags = "作者用户控制类")
public interface AuthorControllerApi {
    @ApiOperation("根据用户id查询作者")
    ApAuthor findByUserId(Integer id);

    @ApiOperation("保存作者")
    ResponseResult save(ApAuthor apAuthor);


}
